<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\CourseSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="course-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

    <?= $form->field($model, 'id') ?>

    <?= $form->field($model, 'coursename') ?>

    <?= $form->field($model, 'courseno') ?>

    <?= $form->field($model, 'creadit') ?>

    <?= $form->field($model, 'grade') ?>

    <?php // echo $form->field($model, 'allperiod') ?>

    <?php // echo $form->field($model, 'profession') ?>

    <?php // echo $form->field($model, 'classtype1') ?>

    <?php // echo $form->field($model, 'classtype2') ?>

    <?php // echo $form->field($model, 'classes') ?>

    <?php // echo $form->field($model, 'checktype') ?>

    <?php // echo $form->field($model, 'studentnum') ?>

    <?php // echo $form->field($model, 'teachperiod') ?>

    <?php // echo $form->field($model, 'testperiod') ?>

    <?php // echo $form->field($model, 'machineperiod') ?>

    <?php // echo $form->field($model, 'otherperiod') ?>

    <?php // echo $form->field($model, 'weekperiod') ?>

    <?php // echo $form->field($model, 'teachweek') ?>

    <?php // echo $form->field($model, 'examineweek') ?>

    <?php // echo $form->field($model, 'teacher') ?>

    <?php // echo $form->field($model, 'siterequirement') ?>

    <?php // echo $form->field($model, 'arrangerequirement') ?>

    <?php // echo $form->field($model, 'mark') ?>

    <?php // echo $form->field($model, 'updatetime') ?>

    <?php // echo $form->field($model, 'isfinish') ?>

    <?php // echo $form->field($model, 'addman') ?>

    <?php // echo $form->field($model, 'addmanid') ?>

    <?php // echo $form->field($model, 'addtime') ?>

    <?php // echo $form->field($model, 'mon') ?>

    <?php // echo $form->field($model, 'tue') ?>

    <?php // echo $form->field($model, 'wed') ?>

    <?php // echo $form->field($model, 'thu') ?>

    <?php // echo $form->field($model, 'fri') ?>

    <?php // echo $form->field($model, 'regmatch') ?>

    <?php // echo $form->field($model, 'term') ?>

    <div class="form-group">
        <?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
